/*
 * 中北大学软件学院版权所有2020-2025
 */
package nuc.lp.uolab.competition.service;

import java.util.List;

import nuc.lp.uolab.competition.vo.Competition;

/**
 *
 * @author liupeng
 * @version 1.0
 */
public interface CompetitionService {
	/**
	 * 添加参赛信息
	 * @param competition
	 * @return 成功返回true
	 */
	public boolean addCompetition(Competition competition);
	/**
	 * 修改参赛信息
	 * @param competition
	 * @return
	 */
	public boolean modifyCompetition(Competition competition);
	/**
	 * 组合查询参赛信息
	 * @param year
	 * @return 查询得到的List
	 */
	public List<Competition> findCompetition(String year);
}
